package com.hspedu.abstract_;

public class BB extends Template {

    //计算任务
    //1 + ··· + 10000
    @Override
    public void job() {//重写父类job()
        long sum = 1;
        for (long i = 1; i < 10000; i++) {
            sum *= i;
        }
    }
}
